package com.huilian.iotbox.admin.service.impl;

import com.huilian.iotbox.admin.dao.MerchantPayCompanyDao;
import com.huilian.iotbox.admin.service.MerchantPayCompanyService;
import com.huilian.iotbox.data.dto.MerchantDto;
import com.huilian.iotbox.data.po.PayCompany;
import com.huilian.iotbox.data.vo.MerchantPayCompanyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 龙 路 飞
 * @CreateDate: 2021-10-21 10:37
 * @Description:
 */
@Service
public class MerchantPayCompanyServiceImpl implements MerchantPayCompanyService {
    @Autowired
    private MerchantPayCompanyDao merchantPayCompanyDao;
    @Override
    public List<MerchantPayCompanyVo> findMerchantPayCompany(MerchantDto merchantDto) {
        return merchantPayCompanyDao.findMerchantPayCompany(merchantDto);
    }

    @Override
    public PayCompany finOnePayCompany(String payCompanyCode) {
        return merchantPayCompanyDao.finOnePayCompany(payCompanyCode);
    }
}
